package com.muyu.danmo.mapper;


import com.muyu.danmo.domain.DanmoTrainingTeacher;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 培训班教师Mapper接口
 * 
 * @author yangle
 * @date 2024-11-26
 */
public interface DanmoTrainingTeacherMapper 
{
    /**
     * 查询培训班教师
     * 
     * @param id 培训班教师主键
     * @return 培训班教师
     */
    public DanmoTrainingTeacher selectDanmoTrainingTeacherById(Long id);

    /**
     * 查询培训班教师列表
     * 
     * @param danmoTrainingTeacher 培训班教师
     * @return 培训班教师集合
     */
    public List<DanmoTrainingTeacher> selectDanmoTrainingTeacherList(DanmoTrainingTeacher danmoTrainingTeacher);

    /**
     * 新增培训班教师
     * 
     * @param danmoTrainingTeacher 培训班教师
     * @return 结果
     */
    public int insertDanmoTrainingTeacher(DanmoTrainingTeacher danmoTrainingTeacher);

    /**
     * 修改培训班教师
     * 
     * @param danmoTrainingTeacher 培训班教师
     * @return 结果
     */
    public int updateDanmoTrainingTeacher(DanmoTrainingTeacher danmoTrainingTeacher);

    /**
     * 删除培训班教师
     * 
     * @param id 培训班教师主键
     * @return 结果
     */
    public int deleteDanmoTrainingTeacherById(Long id);

    /**
     * 批量删除培训班教师
     * 
     * @param ids 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteDanmoTrainingTeacherByIds(@Param("ids") Long[] ids);

    void deleteDanmoTrainingTeacherByIdss(@Param("id") Long id);

    List<DanmoTrainingTeacher> selectDanmoTrainingTeacherByIds(@Param("id") Long id);
}
